package com.service.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.service.dao.model.OrderProductHrComboDetails;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * 算力订单详情
 *
 * @author xxxx
 * @email xxxx@qq.com
 * @date 2019-11-10 22:06:11
 */
@Mapper
public interface OrderProductHrComboDetailsMapper extends BaseMapper<OrderProductHrComboDetails> {



	/**
	 * @Description: 统计当前用户币种的质押数量
	 * @Author: ty
	 * @Date: 2021/5/11 15:17
	 * @param: [memberId, coinsName]
	 * @return: java.math.BigDecimal
	 **/
	BigDecimal totalPledgeNumByMemberIdAndCoins(@Param("memberId")Integer memberId, @Param("coinsName")String coinsName);
}
